home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / languages / brainfuck-2.lha / src / varia.b < prev   
Encoding:
Text File  |  1993-06-02  |  282 b   |  12 lines

  1. [
  2. most of these require the the numbers to the right of the pointer to be 0
  3.  
  4. CLR  =   [-]
  5. ADD  =   [<+>-]<
  6. DUP  =   [>+>+<<-]>>[<<+>>-]
  7. SWAP =   [>+<-]<[>+<-]>>[<<+>>-]<
  8. MUL  =   >[-]>[-]<< <[>[>+>+<<-] >[<+>-] <-] >>>[<<<+>>>-]<<<
  9. IF   =   >[-]<[>[-]+<-]> (your program here) <
  10.  
  11. ]
  12.